package com.g5kj.coupon.ssm.controller;

import com.g5kj.coupon.ssm.common.Result;
import com.g5kj.coupon.ssm.service.ArticleTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 文章标签
 *
 */

@RequestMapping("/articleTag")
@Controller
public class ArticleTagController {

    @Autowired
    ArticleTagService articleTagService;

    @ResponseBody
    @RequestMapping(value = "/")
    public Result index(){
        return articleTagService.list();
    }



}
